﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo.Entity
{
    /// <summary>
    /// 用户
    /// </summary>
    /// <param name="Id">用户ID</param>
    /// <param name="Name">用户ID</param>
    [Serializable]
    public class User
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string PassWord { get; set; }

        public Authority Level { get; set; }
    }

    public enum Authority
    {
        管理员,
        店长,
        店员,
    }
}
